<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>v-on指令绑定事件</title>
  
</head>

<body>
  <style>
    .container {
      width: 400px;
      margin: 0 auto;
      text-align: center;
    }

    .square {
      width: 200px;
      height: 200px;
      background-color: red;
      margin: 0 auto;
    }
  </style>
  
</body>

</html>